package com.scs.application.modules.sys.service;

import com.scs.application.core.service.IBaseService;
import com.scs.application.modules.sys.entity.FlowButton;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 */
public interface FlowButtonService extends IBaseService<FlowButton> {

    Map getByFlowKey(String flowKey);

    List<FlowButton> getByFlowId(String flowId);

    List<FlowButton> getByFlowCode(String flowCode);

    /**
     * 是否支持
     * @param flagProject
     * @return
     */
    Boolean isSupport(Boolean flagProject);
}
